Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 9 - Camera Objects / Camera Objects Reference
Camera Objects Routines / Managing Aspect Ratio Cameras


Q3ViewAngleAspectCamera_SetAspectRatio

You can use the Q3ViewAngleAspectCamera_SetAspectRatio function to set the aspect ratio of an aspect ratio camera.

TQ3Status Q3ViewAngleAspectCamera_SetAspectRatio (
TQ3CameraObject camera, 
float aspectRatioXToY);
camera
An aspect ratio camera object.
aspectRatioXToY
The desired horizontal-to-vertical aspect ratio of the specified camera.
DESCRIPTION
The Q3ViewAngleAspectCamera_SetAspectRatio function sets the horizontal-to-vertical aspect ratio of the camera specified by the camera parameter to the value specified in the aspectRatioXToY parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996